package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "bi_month_product")
public class BiMonthProduct {
    @Id
    private Integer id;

    @Column(name = "product_id")
    private Integer productId;

    @Column(name = "dealer_id")
    private Integer dealerId;

    private String type;

    private Integer month;

    private Integer year;

    private BigDecimal plan;

    private BigDecimal actual;

    public Integer getDealerId() {
        return dealerId;
    }

    public void setDealerId(Integer dealerId) {
        this.dealerId = dealerId;
    }

    @Column(name = "create_time")
    private Date createTime;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * @return product_id
     */
    public Integer getProductId() {
        return productId;
    }

    /**
     * @param productId
     */
    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    /**
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return month
     */
    public Integer getMonth() {
        return month;
    }

    /**
     * @param month
     */
    public void setMonth(Integer month) {
        this.month = month;
    }

    /**
     * @return year
     */
    public Integer getYear() {
        return year;
    }

    /**
     * @param year
     */
    public void setYear(Integer year) {
        this.year = year;
    }

    /**
     * @return plan
     */
    public BigDecimal getPlan() {
        return plan;
    }

    /**
     * @param plan
     */
    public void setPlan(BigDecimal plan) {
        this.plan = plan;
    }

    /**
     * @return actual
     */
    public BigDecimal getActual() {
        return actual;
    }

    /**
     * @param actual
     */
    public void setActual(BigDecimal actual) {
        this.actual = actual;
    }

    /**
     * @return create_time
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}